package demo.service.impl;


import demo.service.CityService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**
 * 城市业务逻辑实现类
 *
 */
@Service
public class CityServiceA {
    @Autowired
    private CityService cityService;
    @Transactional(propagation = org.springframework.transaction.annotation.Propagation.REQUIRED, rollbackFor = Exception.class)
    public void method()
    {
        cityService.insertCityA();
    }
}
